package vipserver;

import com.taobao.vipserver.client.core.Host;
import com.taobao.vipserver.client.core.VIPClient;

/**
 * @author huangya
 * @date 2023/8/30
 */
public class VipserverDemo {

    public static void main(String[] args) {
        Host host = null;
        try {
            host = VIPClient.srvHost("com.taobao.search.one_search_auto_entertain.vipserver_4j_yp");
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        String ip = host.getIp();
        System.out.println(ip);
    }
}
